package entity

import (
	"time"
)

type Namespace struct {
	Name             string    `gorm:"column:name" json:"name"`
	Description      string    `gorm:"column:description" json:"description"`
	CreatedTime      time.Time `gorm:"column:created_time" json:"createdTime"`
	LastModifiedTime time.Time `gorm:"column:last_modified_time" json:"lastModifiedTime"`
}

func (*Namespace) TableName() string {
	return "secret_namespace"
}
